package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.UserConsensusTypeEnums;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 共识度日志表(sc_user_consensus_log)实体类
 *
 * @author zxy
 * @since 2024-08-24 21:56:44
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_consensus_log")
public class UserConsensusLog extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 对应生态藏品Id
     */
    private Long collectionId;
    /**
     * 操作类型
     */
    private UserConsensusTypeEnums type;
    /**
     * 共识度
     */
    private BigDecimal consensusNum;
    /**
     * 操作前
     */
    private BigDecimal beforeNum;
    /**
     * 操作后
     */
    private BigDecimal afterNum;
    /**
     * 描述
     */
    private String remark;


}